import { useRef,forwardRef, RefObject, CanvasHTMLAttributes, ClassAttributes, LegacyRef } from "react";

const CommonDrawer=forwardRef((ref: React.RefObject<HTMLCanvasElement>)=>{
    return(
        <div>
            {/* {...props} */}
            <canvas ref={ref} >
                当前浏览器不支持canvas
            </canvas>
        </div>
    )
})
export default CommonDrawer;